﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pibby.Core
{
	public interface IDownloadable : IIdentifiable
	{
		/// <summary>
		/// Where to download the file to
		/// </summary>
		Uri Uri
		{
			get;
			set;
		}

		/// <summary>
		/// Where to put the downloaded item
		/// </summary>
		string TargetFolder
		{
			get;
			set;
		}

		/// <summary>
		/// The fully qualified path to the file (folder + filename)
		/// </summary>
		string LocalPath
		{
			get;
		}

		string FileName
		{
			get;
			set;
		}

		long FileSize
		{
			get;
			set;
		}

		// whether to save to file or in memory
		bool InMemoryDownload
		{
			get;
			set;
		}

		object Tag
		{
			get;
			set;
		}
	}
}
